import { createStore } from 'vuex'

export default createStore({
    state: {
        user: {
            token: ''
        }
    },
    mutations: {
        setToken(state, token) {
            state.user.token = token
        }
    },
    actions: {

    },
    modules: {

    }
})